import Taro from '@tarojs/taro';
// import { getScreenInfo } from '@utils/screen';
import { getScreenInfo } from '@utils/screen';
import { View, Text, Image, Button, Block } from '@tarojs/components';
import { BaseComponent } from '@common/components/base-component';
import { setGlobalData, getAppData, checkedLoginStatus } from '@utils/tools'
import React from 'react';
import Jump from '../../utils/jump';
import AppRoute from '@utils/route/index'

import './index.scss';


export interface Props {
    isOpen: boolean
    item?: any
}

export default class CollectCoins extends BaseComponent<Props> {
    shareImgIcon = 'https://bbsfiles.iqoo.com/iqoo-mini/%E7%BC%96%E7%BB%84%2048%402x.png'
    constructor(props) {
        super(props);

    }
    componentDidMount() { }
    render() {
        let { isOpen, item } = this.props
        return (
            <>
                {
                    isOpen && <View className='speciesBox'>
                        <Image src={'https://bbsfiles.iqoo.com/iqoo-mini/v3/25891700622741_.png'} className='speciesBoxImage'></Image>
                        <Image src={'https://bbsfiles.iqoo.com/iqoo-mini/v3/25891700622741_.png'} className='speciesBoxImageOne'></Image>
                        <Image src={'https://bbsfiles.iqoo.com/iqoo-mini/v3/25891700622741_.png'} className='speciesBoxImageTwo'></Image>
                        <Image src={'https://bbsfiles.iqoo.com/iqoo-mini/v3/25891700622741_.png'} className='speciesBoxImageThree'></Image>
                        <Image src={'https://bbsfiles.iqoo.com/iqoo-mini/v3/25891700622741_.png'} className='speciesBoxImageFour'></Image>
                        <View className='speciesNum'>+{item.score}</View>
                    </View>
                }

            </>
        );
    }
}
